SWREG ID: 2493 ------------------------------------------------------------------------- 5/8/94 TITLESPY.VBX. Title and System Menu Custom Control. Version 3.0. ------------------------------------------------------------------------- This VBX lets you change size and orientation of Title (Caption) Bar whithin Visial Basic, Visual C++ or Borland C++ 4.0 applications. Make Title Bar small, as it is in VB ToolsBar, or make it huge as you want. Let to choose Title Bar's font. Also lets you modify the System Menu. New in this version: 1. Fixed 'Border' bug. 2. Added new 'LetItMove' property, what allows to move parent controls in Run-Time. 3. Added 'SpyAllowed' property. You make it false, if you don't want to have different title size, but want to use System menu feature. 4. New demo. ------------------------------------------------------------------------- How to use. To modify Title Bar: 1. Put control on form. 2. Choose Caption Bar size in TitleSize property. 3. Choose Caption Bar orientation in TitlePlace property. 4. Run application. Enjoy. If you want to append your items into System Menu: 1. Put control on form. 2. Add next line into your code: TitleSpy1.AddItem ItemStr$, n where 'ItemStr$' is a String, you want to appear in System Menu, 'n' is Menu Item ID between 100 and 1000. This ID will be send into SysMenu Event of TitleSpy, when user will select this Item in the System Menu. To append separator make n equal 0. 3. In SysMenu Event of TitleSpy append code what will executes when user selected your Item from System Menu. 4. Run application. Enjoy. ------------------------------------------------------------------------- Fonts. This version let you possibility to use any font in a Caption Bars. But you have to remember: if you use Non-True-Type fonts: - Vertical oriented Caption will not have a text. - Size of font, used for Title Bar, will be nearest existing size for this particular font, what matches to current height of Title Bar. if you use Vertical oriented Caption - StrikeThrou and Underline don't work property for vertical oriented fonts. ------------------------------------------------------------------------- Restrictions. You can not to have a menu in window that have TITLESPY as a child. If you use menu, it will be invisible in Run Mode. If you make 'BorderStyle' of the Form equal to 'Fixed Double' or 'No border', TitleSpy changes it to 'Fixed Single'. ------------------------------------------------------------------------- Registration. You can register this Control by sending your name and either: 1. On-line registration with Compuserve, type GO SWREG and register product number 2493. The fee is $36.00. A registered copy will be sent by E-Mail. 2. Sending $36.00 and your name and address to the E-Mail address below. Please provide me with an E-Mail address where the control can be sent, alternatively add $3.50 for shipping and a disk will be mailed to you. Overseas shipping varies with destination. ------------------------------------------------------------------------- If you have any comments or questions, please send them to me. I can be reached at Alex Spektor, 610 Valley Stream Circle Langhorne, PA 19053 (215) 741-5611. Or E-Mail at CIS: 73321,1525 and Internet aspektor@susq.com.